package main

import "fmt"

func main() {
	//空接口没有任何方法,因此所有类型均实现了空接口,空接口可以存储任意类型的数值
	var v1 interface{} = 1
	var v2 interface{} = "abc"
	var v3 interface{} = &v2
	var v4 interface{} = struct {x int}{1}
	var v5 interface{} = &struct {x int}{1}
	fmt.Println(v1, v2, v3, v4, v5)


}
